package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName full_haggle_limit_number
 */
@TableName(value ="full_haggle_limit_number")
@Data
@Accessors(chain = true)
@ApiModel("全店限制次数")
public class FullHaggleLimitNumber implements Serializable {
    /**
     * 设置全店每天帮砍次数id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 商户id
     */
    @ApiModelProperty(value = "..",hidden = true)
    @TableField(value = "merchant_id")
    private Long merchantId;

    /**
     * 限制次数
     */
    @ApiModelProperty("限制每天人数")
    @TableField(value = "limit_number")
    private Integer limitNumber;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "..",hidden = true)
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除0：删除 1：未删除")
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}